package logic.login;

import org.game.db.bean.Player;
import org.script.IScript;
import org.script.ScriptArgs;

import com.xiaoleilu.hutool.log.Log;
import com.xiaoleilu.hutool.log.LogFactory;

/**
 * 加载player预处理脚本,方便修复各种线上bug
 */
public class PreLoadPlayerScript implements IScript {
//    private final static Log log = LogFactory.get(PreLoadPlayerScript.class);

    @Override
    public void init() {

    }

    @Override
    public void destroy() {

    }

    @Override
    public Object call(Object arg) {
//        ScriptArgs args = (ScriptArgs) arg;
//        Player player = (Player) args.get(ScriptArgs.Key.PLAYER);
//        log.info("------预加载处理------player=[" + player.getName() + ":" + player.getId() + "]");
        return null;
    }
}
